<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="/LayuiTest/layui/css/layui.css">
</head>
<body>

<script src="/LayuiTest/layui/layui.js"></script>
<script type="text/javascript">
	//一般直接写在一个js文件中
	layui.use(['layer', 'form'], function(){
	  var layer = layui.layer
	  ,form = layui.form;
	  
	  layer.msg('Hello World');
	});
</script>
</body>
</html>